package com.sky.tlias.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sky.common.annotation.Excel;
import com.sky.common.core.domain.BaseEntity;

/**
 * 工作经历对象 emp_expr
 * 
 * @author ruoyi
 * @date 2025-09-02
 */
public class EmpExpr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID, 主键 */
    private String id;

    /** 员工ID */
    @Excel(name = "员工ID")
    private String empId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date begin;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date end;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String company;

    /** 职位 */
    @Excel(name = "职位")
    private String job;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEmpId(String empId) 
    {
        this.empId = empId;
    }

    public String getEmpId() 
    {
        return empId;
    }
    public void setBegin(Date begin) 
    {
        this.begin = begin;
    }

    public Date getBegin() 
    {
        return begin;
    }
    public void setEnd(Date end) 
    {
        this.end = end;
    }

    public Date getEnd() 
    {
        return end;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setJob(String job) 
    {
        this.job = job;
    }

    public String getJob() 
    {
        return job;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("empId", getEmpId())
            .append("begin", getBegin())
            .append("end", getEnd())
            .append("company", getCompany())
            .append("job", getJob())
            .toString();
    }
}
